<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<meta charset="UTF-8"></meta>
	<title>Thêm thông tin tuyển dụng</title>
	<link rel="stylesheet" type="text/css"
		href="resources/css/bootstrap.css" media="all" />
	<link rel="stylesheet" type="text/css"
		href="resources/css/bootstrap-responsive.css" media="all" />
	<link rel="stylesheet" type="text/css"
		href="resources/css/flexslider.css" media="all" />
	<link rel="stylesheet" type="text/css"
		href="resources/css/font-awesome.css" media="all" />
	<link rel="stylesheet" type="text/css"
		href="resources/css/prettyPhoto.css" media="all" />
	<link rel="stylesheet" type="text/css" href="resources/css/red.css"
		media="all" />
	<link rel="stylesheet" type="text/css"
		href="resources/css/sidebar-nav.css" media="all" />
	<link rel="stylesheet" type="text/css" href="resources/css/style.css"
		media="all" />
	<link rel="stylesheet" type="text/css"
		href="resources/css/icon-css.css" media="all" />
	<link href="resources/css/webwidget_menu_glide.css" rel="stylesheet"
		type="text/css" />
	<link rel="stylesheet" type="text/css"
		href="resources/css/nice-menu.css" media="all" />
	<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
</h:head>
<h:body>

	<!-- Include Header -->
	<ui:include src="./header.xhtml"></ui:include>
	<!-- End Header -->

	<div class="container">
		<!-- Left menu & content -->
		<div class="row" style="margin-left: 0px">
			<div class="row-fluid">
				<div class="row-fluid">

					<!-- Include Left Menu -->
					<ui:include src="./leftMenu.xhtml" />
					<!-- End Left Menu -->

					<!-- Content -->
					<h:form>
						<center>
							<b><h2>Thêm thông tin tuyển dụng mới</h2></b>

							<table border="0" cellpadding="0" cellspacing="0">
								<tr class="control-group">
									<th align="left">Ngày lập thông tin tuyển dụng:</th>
									<td><h:inputText id="ngaylap"
											value="#{thongTinTuyenDungManagedBean.ngayLapTTTD}" class="insert-inp"/></td>
								</tr>
								<tr>
									<th align="left">Tổng số lượng tuyển dụng:</th>
									<td><h:inputText
											value="#{thongTinTuyenDungManagedBean.tongSoLuongTD}"
											class="insert-inp"></h:inputText></td>
								</tr>
								<tr>
									<th align="left">Ngày bắt đầu tuyển dụng:</th>
									<td><h:inputText value="#{thongTinTuyenDungManagedBean.ngayBatDauTD}" class="insert-inp"/></td>
								</tr>
								<tr>
									<th align="left">Ngày kết thúc tuyển dụng:</th>
									<td><h:inputText value="#{thongTinTuyenDungManagedBean.ngayKetThucTD}" class="insert-inp"/></td>
								</tr>
								<tr>
									<th align="left">Trạng thái thông tin tuyển dụng:</th>
									<td><INPUT TYPE="radio" NAME="radios" disabled="disabled"
										VALUE="#{thongTinTuyenDungManagedBean.trangThaiTTTD}"> Yes </INPUT> <INPUT
										TYPE="radio" NAME="radios" checked="true"
										VALUE="#{thongTinTuyenDungManagedBean.trangThaiTTTD}"> No </INPUT></td>
								</tr>
								<tr>
									<th align="left">Trạng thái duyệt thông tin tuyển dụng:</th>
									<td><INPUT TYPE="radio" NAME="radiott" disabled="disabled"
										VALUE="#{thongTinTuyenDungManagedBean.trangThaiDuyetTTTD}">
											Yes</INPUT> <INPUT TYPE="radio" NAME="radiott" checked="true"
										VALUE="#{thongTinTuyenDungManagedBean.trangThaiDuyetTTTD}">
											No</INPUT></td>
								</tr>
								<tr>
									<th align="left">Tên tài khoản công ty:</th>
									<td><h:inputText
											value="#{thongTinTuyenDungManagedBean.tenTKCT}" class="insert-inp"></h:inputText>
									</td>
								</tr>
								<tr>
									<th align="left">Tên tài khoản Quản trị viên:</th>
									<td><h:inputText
											value="#{thongTinTuyenDungManagedBean.tenTKQTV}" class="insert-inp"></h:inputText>
									</td>
								</tr>
								<tr>
									<th></th>
									<td></td>
								</tr>
								<tr>
									<th></th>
									<td><h:commandButton value="Thêm mới"
											class="btn btn-primary" style="width: 100px"
											action="#{thongTinTuyenDungManagedBean.insert}" /></td>
								</tr>
							</table>
						</center>
					</h:form>
					<!-- End Content -->
				</div>
			</div>
		</div>
	</div>

	<!-- Include Footer -->
	<ui:include src="./footer.xhtml"></ui:include>
	<!-- End Footer -->
</h:body>
</html>